import Layout from "@/layout/index.vue";

const chartsRouter = [{
  path: '/chat',
  component: Layout,
  redirect: '/chatIndex',
  name: 'chat',
  meta: {
    title: '聊天框',
    icon: 'icon-chat'
  },
  children: [
    {
      path: '/chatIndex',
      // component: () => import('@/views/chat/index.vue'),
      name: 'chatBox',
      meta: { title: '聊天框', icon: 'icon-chat'  }
    },
  ]
}]

export default chartsRouter
